import type { ProjectConfig } from '#/config';
import { MenuModeEnum, TriggerEnum } from '@/enums/menu-enum';

// ! You need to clear the browser cache after the change
const setting: ProjectConfig = {
  // color

  // Whether to display the logo
  showLogo: true,

  // Header configuration
  headerSetting: {
    // Whether to show top
    show: true,
  },

  // Menu configuration
  menuSetting: {
    // Menu collapse
    collapsed: false,
    // Whether to show no dom
    show: true,
    // Menu width
    menuWidth: 210,
    // Menu mode
    mode: MenuModeEnum.VERTICAL,
    // Fold trigger position
    trigger: TriggerEnum.HEADER,
  },

  // Multi-label
  multiTabsSetting: {
    // Turn on
    show: true,
  },

  // Whether to show breadcrumbs
  showBreadCrumb: true,

  // Whether to show the breadcrumb icon
  showBreadCrumbIcon: false,

  // Whether to open back to top
  useOpenBackTop: true,
};

export default setting;
